home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio / Ham Radio CD-ROM (Emerald Software) (1995).ISO / freq / wpl102 / install.bat < prev    next >
DOS Batch File  |  1991-04-23  |  2KB  |  70 lines

  1. echo off
  2. cls
  3.  
  4. if x%2==x goto param
  5. if x%1==x goto param
  6. if %1==a: goto install
  7. if %1==A: goto install
  8. if %1==b: goto install
  9. if %1==B: goto install
  10. if %2==c: goto install
  11. if %2==C: goto install
  12. if %2==d: goto install
  13. if %2==D: goto install
  14. if %2==e: goto install
  15. if %2==E: goto install
  16. if %2==f: goto install
  17. if %2==F: goto install
  18. if %2==g: goto install
  19. if %2==G: goto install
  20. if %2==h: goto install
  21. if %2==H: goto install
  22. if %2==i: goto install
  23. if %2==I: goto install
  24.  
  25. :param
  26. ECHO  ------------------------------------------------------------------
  27. ECHO !                                                                  !
  28. echo !   To install WPL type src:INSTALL src: dest:                     !
  29. ECHO !                                                                  !
  30. echo !                  .e.g   A:INSTALL    A:   C:                     !
  31. ECHO !                                                                  !
  32. ECHO  ------------------------------------------------------------------
  33. goto stop
  34.  
  35. :install
  36.  
  37. ECHO  ------------------------------------------------------------------
  38. ECHO !                                                                  !
  39. ECHO ! Source Directory      = %1                                       !
  40. ECHO !                                                                  !
  41. ECHO ! Destination Directory = %2                                       !
  42. ECHO !                                                                  !
  43. ECHO !    To abort the WPL installation, type Ctrl-C and then Y at the  !
  44. ECHO !    "Terminate batch job (Y/N)?" prompt                           !
  45. ECHO !                                                                  !
  46. ECHO  ------------------------------------------------------------------
  47. pause
  48.  
  49.  
  50. ECHO The \WPL directory is being created ...
  51. %2
  52. mkdir \wpl
  53.  
  54. ECHO WPL is being installed ...
  55. copy %1*.* %2\wpl
  56.  
  57. ECHO WPL is now ready to run on a VGA monitor.
  58. ECHO ...
  59. ECHO Type USE_EGA to configure WPL to run on a EGA monitor
  60. ECHO               (USE_EGA only needs to be used during installation)
  61. ECHO ...
  62. ECHO ...
  63. ECHO To Start type:   CD \WPL
  64. ECHO                  WPL
  65. cd \wpl
  66.  
  67. :stop
  68. ECHO ON
  69. 
  70.